<div class="container">
    
    <h1>Edit User: <?php echo $this->user['userName']; ?></h1>
    
    <form method="post" action="<?php echo URL;?>user/editSave/<?php echo $this->user['idUser']; ?>">
        <fieldset>
            <table>
                <tbody>
                    <tr>
                        <td><label>First Name:</label></td>
                        <td>
                        <input type="text" name="firstName" required pattern="[A-Za-z]{2,22}" value="<?php echo $this->user['firstName']; ?>"/>
                        </td>
                        <td><strong class="form_info">max 22 Characters (Letters only)</strong></td>
                    </tr>

                    <tr>
                        <td><label>Last Name:</label></td>
                        <td>
                        <input type="test" name="lastName" required pattern="[A-Za-z]{2,22}" value="<?php echo $this->user['lastName']; ?>"/>
                        </td>
                        <td><strong class="form_info">max 22 Characters (Letters only)</strong></td>
                    </tr>

                    <tr>
                        <td><label>E-mail:</label></td>
                        <td>
                        <input type="email" name="email" required value="<?php echo $this->user['email']; ?>"/>
                        </td>
                    </tr>

                </tbody>
            </table>
            
		    <button type="submit">Save</button>
	    </fieldset>
	</form>

	</div>

</div>
